<!-- Start: Header -->	
<div id="header">
	<!-- Reapting background to stop cut off on the right hand side of the header -->			
	<div class="repeating_bg"></div>
	<div class="inner">
	<!-- Company/Application Logo -->				
		<h1 id="logo"><?php echo $this->lang->line('lbl.Application.Name') ?></h1>				
		<!-- User Control Panel -->				
		<div id="control">					
			<ul>
			<!-- User info -->
				<li><p>Chào mừng  <a href="<?php echo base_url().'index.php/do_home' ?>"><?php echo Fget_userdata('session_user_full_name'); ?></a></p></li>
				<!-- Important : List items must remain on the same line due to browser bugs -->						
				<li class="control_button first">
					<a href="#"  onclick="openbox('box','CONFIRM LOGOUT')">
						<?php echo 'Thoát' ?>
					</a>
				</li>
				<li class="control_button last">
					<?php 
						$tmp = base_url();
						$tmp = str_replace('/admin','',$tmp);
					?>
					<a target="_blank" href="<?php echo $tmp ; ?>">Trang chủ</a>
				</li>
			</ul>				
		</div>	
		<!-- Main Navigation -->
		<div id="menu">				
			<ul id="ddmenu">					
				<li class="first-child <?php if($menu_active == 'home') echo 'current'; ?>"><a href="<?php echo base_url().'index.php/do_home' ?>">Trang chủ</a></li>
				<!--<li <?php //echo show_menu_active($menu_active, 'employee'); ?>><a href="<?php //echo base_url().'index.php/do_employee_listview' ?>">Users</a></li>	-->				
				<li <?php if($menu_active == 'section_news' || $menu_active == 'cat_news' || $menu_active == 'news') echo 'class="current"'; ?>><a href="<?php echo base_url().'index.php/do_news_listview' ?>">Bài viết</a>
					<ul <?php if($menu_active == 'section_news' || $menu_active == 'cat_news' || $menu_active == 'news') echo 'style="visibility:visible"'; ?> >					
						<li <?php echo show_menu_active($menu_active, 'section_news'); ?>><a href="<?php echo base_url().'index.php/do_section_news_listview' ?>">Loại bài viết</a></li>					
						<li <?php echo show_menu_active($menu_active, 'cat_news'); ?>><a href="<?php echo base_url().'index.php/do_cat_news_listview' ?>">Nhóm bài viết</a></li>							
						<li <?php echo show_menu_active($menu_active, 'news'); ?>><a  href="<?php echo base_url().'index.php/do_news_listview' ?>">Tin tức</a></li>									
					</ul>
				</li>
				
							
				<li <?php echo show_menu_active($menu_active, 'module'); ?>><a href="<?php echo base_url().'index.php/do_module_listview' ?>">Module </a></li>									
			</ul>				
			<!-- Sub Navigation -->				
		</div>
	</div>
</div>
<!-- End: Header -->
<div class="inner">